package com.demo.proxy.dynamicproxy;

public class Test {

	public static void main(String[] args) {
//		User target = new UserImpl();
//		User target = new User();

		User u = (User) new UserProxy(User.class).getProxyInstance();
		
//		
//		String rs = u.select();
//		
//		System.out.println(rs);
		
		String rs2 = u.login("U");
		System.out.println(rs2);
//		String[] s = new String[10];
//		for (String string : s) {
//			System.out.println(string);
//		}

	}
}
